package com.net
{
	import com.net.interfaces.INotify;
	
	import com.robotlegs.mvcs.Actor;
	
	import com.utils.Print;

	public class Notify extends Actor implements INotify
	{
		public function Notify()
		{
		}

		public function handleMessage(protocolId : uint, param : Object) : void
		{
		}

		public function print(... args) : void
		{
			Print.print(args);
		}

		public function warning(... args) : void
		{
			Print.warning(args);
		}

		public function error(... args) : void
		{
			Print.error(args);
		}

		/**
		 * 发送消息到服务器
		 * @param dataBase
		 *
		 */
		public function sendData(dataBase : DataBase) : void
		{
			GameSocket.instance.sendData(dataBase);
		}
	}
}